package com.njtoyo.taxi.admin.mongo.repository.primary;

import com.njtoyo.taxi.admin.mongo.entity.primary.DriverWithDrawConfigMongo;
import com.njtoyo.taxi.admin.mongo.entity.primary.RealtimeCallMqttMsgMongo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author mdf
 * @title: RealtimeCallMqttMsgMongoRepository
 * @description: TODO
 * @date 2024/10/31 09:14
 */
public interface RealtimeCallMqttMsgMongoRepository  extends MongoRepository<RealtimeCallMqttMsgMongo, ObjectId> {
    List<RealtimeCallMqttMsgMongo> findByTaxiId(Long id);

    List<RealtimeCallMqttMsgMongo> findByRealtimeCallId(Long callId);
}
